home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
Better AD security
/
Source
/
ExtensionShell.h
< prev
next >
Wrap
Text File
|
1996-06-21
|
1KB
|
74 lines
/* NAME:
ExtensionShell.h
WRITTEN BY:
Dair Grant
DESCRIPTION:
Header file for ExtensionShell.c
___________________________________________________________________________
*/
#ifndef __EXTENSIONSHELL__
#define __EXTENSIONSHELL__
//=============================================================================
// Include files
//-----------------------------------------------------------------------------
#include <QuickDraw.h>
#include <Traps.h>
//=============================================================================
// Defines
//-----------------------------------------------------------------------------
#define GrafSize 206 // From IM I-209. Total QDraw storage
#define ADD_GRAFSIZE (GrafSize - 130) // 130 bytes in shown fields
#define kInitGrafTrap _InitGraf // 0xA86E
#define kUnimplementedTrap _Unimplemented // 0xA89F
//=============================================================================
// Structures
//-----------------------------------------------------------------------------
typedef struct {
char filler[ADD_GRAFSIZE]; // Internal QD storage
long randSeed;
BitMap screenBits;
Cursor arrow;
Pattern dkGray;
Pattern ltGray;
Pattern gray;
Pattern black;
Pattern white;
GrafPtr thePort;
} FakeQD;
#endif